﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="QueryMemExchange.aspx.cs"
    Inherits="Manageweb_Member_QueryMemExchange" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>会员转账查询</title>
     <link href="../images/css.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript">dateFormat='yyyy-mm-dd'</script>
    <script src="../../js/popcalendar.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="540" style="text-align:left;">
        <tr>
         <td style=" background-color:#507CD1" colspan="4">会员转账查询</td>
        </tr>
            <tr>
                <td>
                    会员账号：</td>
                <td>
                    <asp:TextBox ID="txtUserAccount" runat="server"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    开始日期：
                </td>
                <td>
                    <asp:TextBox ID="txtBeginDate" runat="server"></asp:TextBox>  <img   style="cursor:hand;" src="../../js/img/calendar.gif"
     onclick='popUpCalendar(this, txtBeginDate, dateFormat,-1,-1)' 
     alt='Select'>
                </td>
                <td>
                    结束日期：
                </td>
                <td  >
                    <asp:TextBox ID="txtEndDate" runat="server"></asp:TextBox> <img   style="cursor:hand;" src="../../js/img/calendar.gif"
     onclick='popUpCalendar(this, txtEndDate, dateFormat,-1,-1)' 
     alt='Select'>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td  >
                    <asp:Button ID="btnQuery" runat="server" onclick="Button1_Click" Text="查询" />
                </td>
            </tr>
            
        </table>
        <br />
        <table width="540px">
          <tr>
                <td colspan="4">
                    <asp:GridView ID="GVMemExchange" runat="server" AllowPaging="True" 
                        AutoGenerateColumns="False" PageSize="20" Width="540px" CellPadding="0" 
                        EmptyDataText="暂无数据" onpageindexchanging="GVMemExchange_PageIndexChanging">
                          <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:BoundField DataField="fromid" HeaderText="转出账号" />
                            <asp:BoundField DataField="cmoney" HeaderText="金额" />
                            <asp:BoundField DataField="toid" HeaderText="转入账号" />
                            <asp:BoundField DataFormatString="{0:yyyy-MM-dd}" HeaderText="转账时间" 
                                DataField="createtime" />
                        </Columns>
                         <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <EditRowStyle BackColor="#2461BF" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
